import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SSuitSkillInfo
    
    export  class SSuitSkillInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SSuitSkillInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.level);
            arg1.writeInt(this.skillId);
            arg1.writeInt(this.times);
            arg1.writeInt(this.leftCdTime);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.level = arg1.readInt();
            this.skillId = arg1.readInt();
            this.times = arg1.readInt();
            this.leftCdTime = arg1.readInt();
            return;
        }

        public /* const */_type: int=12312;

        public /* var */level: int;

        public /* var */skillId: int;

        public /* var */times: int;

        public /* var */leftCdTime: int;

        public static /* var */_regist: SSuitSkillInfo;
    }

            SSuitSkillInfo._regist = new SSuitSkillInfo(true);
        